title: How do I find the correct url to send curl POST request to?
body: <p>I am trying to use curl to send a POST request with json.</p>
  
  <p>I use Live HTTP Headers and get the url to send the request to. However it comes back "request denied. you do not have permission to access this page?"</p>
  
  <p>How do I find the correct url?</p>
  
  <p>from Live Http headers, i can see the json data {"var1":"val1","var2":"val2",...}</p>
  
  <p>so i use the following curl command:</p>
  
  <p>curl -H "Accept: application/json" -H "Content-type: application/json" -o output.html -L "<a href="http://domain.com/theurl" rel="nofollow">http://domain.com/theurl</a>" -d '{"var1":"val1","var2":"val2",...}'</p>