Linked Questions

427 votes
2 answers
1.4m views

I have a server application written in ASP.NET on Windows that provides a web service. How can I call the web service in Linux with cURL?
Randhi Rupesh's user avatar
0 votes
0 answers
212 views

I defined a super simple healthcheck endpoint in my Django app (urls.py) to be used in a docker compose environment, like: services: django: build: context: . dockerfile: ./compose/...
browser-bug's user avatar
  • 2,211
789 votes
10 answers
800k views

I am calling my Java webservice (POST request) via Postman in the following manner which works perfectly fine (i.e. I can see my records getting inserted into the database): And, here's how the ...
Coder's user avatar
  • 8,011
130 votes
6 answers
164k views

Is there a way to tell cURL command not to use server's side cache? e.g; I have this curl command: curl -v www.example.com How can I ask curl to send a fresh request to not use the cache? Note: I am ...
tokhi's user avatar
  • 21.7k
92 votes
3 answers
203k views

Can I call curl_setopt with CURLOPT_HTTPHEADER multiple times to set multiple headers? $url = 'http://www.example.com/'; $curlHandle = curl_init($url); curl_setopt($curlHandle, CURLOPT_HTTPHEADER, ...
hakre's user avatar
  • 200k
42 votes
5 answers
41k views

Django rest framework: Custom Authentication I want to use custom authentication in my Django app but cannot find how to apply this. The example given in the documentation is clear to me but they did ...
Arbaz Rizvi's user avatar
62 votes
3 answers
119k views

As of current, are there still any methods to spoof HTTP referer?
jack's user avatar
  • 1,435
31 votes
2 answers
21k views

After reading the following question (Authorization header in Ruby on Rails accessed with key HTTP_AUTHORIZATION instead of Authorization?) I have a similar problem as the OP, but the proposed answer ...
nicohvi's user avatar
  • 2,270
12 votes
4 answers
34k views

I'm trying to connect to Sharepoint Online (Sharepoint 365?) content using OAuth2 and the REST API. I need to do this from Python as it is an addition to an existing application. I have already ...
ZinaliErik's user avatar
10 votes
1 answer
16k views

I am attempting to authenticate a REST API in AWS API Gateway, which is protected by AWS Cognito through the command line to do some security testing of the API. So, i'm supposed to send the ...
Tibo's user avatar
  • 773
1 vote
2 answers
4k views

I am developing a rather simple application that retrieves files from SharePoint using the REST Office 365 API. This is a batch job running in the background with no user interface so the following ...
CDub's user avatar
  • 11
2 votes
1 answer
3k views

I am trying to get RSS from other sites. They all work fine using file_get_contents except one link give me this error: Warning: file_get_contents(http://alwatan.kuwait.tt/rss.ashx): failed to open ...
Haithomy's user avatar
1 vote
3 answers
6k views

I want to make a HTTP post request via Alamofire 4.5. The request need an authorization header(which is a Api key). But whenever I fired the request,my server cant detect the ApiKey.' Here is how I ...
ken's user avatar
  • 2,712
3 votes
1 answer
6k views

Hi I'm working on a REST api in java using Glassfish 4.1.1 as server and java EE 7 and as front end I'm using AngularJS also on netbeans. I was following this simple tutorial https://www.youtube.com/...
VictorS's user avatar
  • 41

15 30 50 per page