In the past I've used subprocess.run to shell out and run curl. Those were
weird circumstances though. Typically I use the requests library instead.
On August 21, 2022 2:27:02 PM PDT, "lone...@gmail.com"
wrote:
>Hello all,
>
> I am interested in converting the CURL co
https://reqbin.com/req/python/c-xgafmluu/convert-curl-to-python-requests
Am So., 21. Aug. 2022 um 23:27 Uhr schrieb lone...@gmail.com <
loneso...@gmail.com>:
> Hello all,
>
>I am interested in converting the CURL command of:
>
> curl 'https://www.walmart.com/chcweba
Hello all,
I am interested in converting the CURL command of:
curl 'https://www.walmart.com/chcwebapp/api/receipts' \ -H 'sec-ch-ua:
"Chromium";v="98", " Not A;Brand";v="99", "Google Chrome";v="98"' \ -H
'a
ell me why I'm getting this error?
> but in POSTMAN it is woking properly.
>
> On Tue, Feb 4, 2020 at 4:11 PM Kasper Laudrup
> wrote:
>
>> Hi Soumen,
>>
>> On 04/02/2020 09.01, Soumen Khatua wrote:
>> > Hi Folks,
>> >
>> > Actually now I
Okay,sorry I thought Wireshark some code snippet. Now i got it.
Thank you
On Tue, Feb 4, 2020 at 5:46 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> On 04/02/2020 13.02, Soumen Khatua wrote:
> > Yeah I did whatever you said but still I'm facing the same issue, But
> > same code is working in Httpie
Hi Soumen,
On 04/02/2020 13.02, Soumen Khatua wrote:
Yeah I did whatever you said but still I'm facing the same issue, But
same code is working in Httpie and POSTMAN.That's why I'm surprised.
No you didn't.
Try to compare the POST data being sent using the different clients,
then it should
Yeah I did whatever you said but still I'm facing the same issue, But same
code is working in Httpie and POSTMAN.That's why I'm surprised.
On Tue, Feb 4, 2020 at 5:29 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> Did you read the rest of my answer past the first two lines?
>
> On 04/02/2020 12.50,
Hi Soumen,
Did you read the rest of my answer past the first two lines?
On 04/02/2020 12.50, Soumen Khatua wrote:
My views.py file
*def post(self, request,*args, **kwargs):
"""
Create a Job record
:param format: Format of the Job records to return to
:param
My views.py file
*def post(self, request,*args, **kwargs):"""Create a Job
record:param format: Format of the Job records to return to
:param request: Request object for creating Job records:return:
Returns a Job record"""print("request.d
Hi Soumen,
On 04/02/2020 12.14, Soumen Khatua wrote:
curl -i -X POST -H "Authorization: Basic Nzc5NzcyNzU0MDpzb3VtZW4xMjM="
http://127.0.0.1:8000/job_post/ --data '{"job_description":"Python
Developers"}'
Here I'm passing the data of job_description but still I'm getting an
error like:
*
*
ld you tell me why I'm getting this error?
but in POSTMAN it is woking properly.
On Tue, Feb 4, 2020 at 4:11 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> On 04/02/2020 09.01, Soumen Khatua wrote:
> > Hi Folks,
> >
> > Actually now I'm usng POSTMAN for all ope
Hi Soumen,
On 04/02/2020 09.01, Soumen Khatua wrote:
Hi Folks,
Actually now I'm usng POSTMAN for all operation like GET,POST,PUT,PATCH
and DELETE. But I want to do the same thing by using Curl Command, Could
anyone tell me what are the commands for CURL.I'm providing my end point
Hi Folks,
Actually now I'm usng POSTMAN for all operation like GET,POST,PUT,PATCH and
DELETE. But I want to do the same thing by using Curl Command, Could anyone
tell me what are the commands for CURL.I'm providing my end point below and
most important I'm using Basic Authentic
13 matches
Mail list logo