How can I convert data from POSTMAN into PHP Curl Request?

|
2021-07-01 21:15:21
Iamanonymoussssss 2021-07-01 21:14:52
Its header problem or start session

plz give us the error msg

Iamanonymoussssss 2021-07-01 21:15:24
luv_php-34599.jpg
Photo from Akshay Avhad
2021-07-01 21:16:22
Iamanonymoussssss 2021-07-01 21:15:24
Photo from Akshay Avhad

so send admin.php line 6

Iamanonymoussssss 2021-07-01 21:16:23
luv_php-34601.jpg
Photo from Akshay Avhad
ajayprakashshukla 2021-07-01 21:16:24
There are something print above start session function
ajayprakashshukla 2021-07-01 21:16:42
Like any echo or space
Iamanonymoussssss 2021-07-01 21:16:48
Ajay i have Dm U
ajayprakashshukla 2021-07-01 21:16:59
Use ob_start
2021-07-01 21:17:51
plz talk about it in group
I want to know the solution
Iamanonymoussssss 2021-07-01 21:18:54
Ok
Iamanonymoussssss 2021-07-01 21:19:04
Babak can we connect over google meet or zoom
Iamanonymoussssss 2021-07-01 21:19:21
So u can go through code
cbfcbf00 2021-07-01 21:19:21
/get php_docs
Iamanonymoussssss 2021-07-01 21:20:19
Babak u there ?
2021-07-01 22:52:30
Iamanonymoussssss 2021-07-01 21:16:23
Photo from Akshay Avhad

Add ob_start();
After line no 10 and before line no 11

2021-07-01 22:53:12
And also die the page using die();

After line no 11 and before line number 12

Shubham 2021-07-01 23:31:29
Hello There,
Is there any way to run vbs file from anchor tag in php.
Z3R0DAYS 2021-07-01 23:38:02
Need Some Help with Curl here any one can help?
2021-07-01 23:56:51
Z3R0DAYS 2021-07-01 23:38:02
Need Some Help with Curl here any one can help?

Yes

Z3R0DAYS 2021-07-01 23:58:25
2021-07-01 23:56:51
Yes

I am trying to login to a website using Curl , The website has headers , the curl response returns 404 i am guessing it is from the headers can you tell?

do you have any code for logining into a website ?

rohit267 2021-07-02 00:07:19
Z3R0DAYS 2021-07-01 23:58:25
I am trying to login to a website using Curl , The website has headers , the curl response returns 404 i am guessing it is from the headers can you tell?

do you have any code for logining into a website ?

404 means the url is incorrect

Z3R0DAYS 2021-07-02 00:07:33
rohit267 2021-07-02 00:07:19
404 means the url is incorrect

url is working fine

rohit267 2021-07-02 00:07:57
Z3R0DAYS 2021-07-02 00:07:33
url is working fine

get or post?

Z3R0DAYS 2021-07-02 00:08:03
post
rohit267 2021-07-02 00:08:32
Z3R0DAYS 2021-07-02 00:08:03
post

how can you send post directly using browser?

Z3R0DAYS 2021-07-02 00:09:05
rohit267 2021-07-02 00:08:32
how can you send post directly using browser?

yes Read my text above carefully

rohit267 2021-07-02 00:09:56
Z3R0DAYS 2021-07-02 00:09:05
yes Read my text above carefully

you did not explain the your query

Z3R0DAYS 2021-07-02 00:11:25
rohit267 2021-07-02 00:09:56
you did not explain the your query

Sending a post requetst with post data +Headers to a website
and print the following url response

Z3R0DAYS 2021-07-02 00:13:15
rohit267 2021-07-02 00:09:56
you did not explain the your query

consider this example see if you can build a curl login code for this site

https://darvpn.com/user/login

DARVPN | WebSiteDarvpn
Dar Vpn Website
rohit267 2021-07-02 00:14:21
Z3R0DAYS 2021-07-02 00:13:15
consider this example see if you can build a curl login code for this site

https://darvpn.com/user/login

download postman, use as you want and generate curl code

rohit267 2021-07-02 00:14:26
its easy
Z3R0DAYS 2021-07-02 00:14:39
bro curl php not a curl cmd
rohit267 2021-07-02 00:16:41
Z3R0DAYS 2021-07-02 00:14:39
bro curl php not a curl cmd

its has bro, give a try atleast

2021-07-02 00:17:04
Z3R0DAYS 2021-07-02 00:14:39
bro curl php not a curl cmd

U can d m for it I can try to solve ur problem but by morning

rohit267 2021-07-02 00:17:09
Z3R0DAYS 2021-07-02 00:14:39
bro curl php not a curl cmd

https://stackoverflow.com/questions/40632296/how-can-i-convert-data-from-postman-into-php-curl-request

How can I convert data from POSTMAN into PHP Curl Request?Stack Overflow
I have an API in postman. I want to create a CURL Request and get proper response with it. This is my POSTMAN API.
I am successfully getting this response with it.

“{“Request”:{“state”:”Mana…

|