# POST/PUT Request > Source: https://scrape.do/documentation/api-response/post-put-request/ Send POST and PUT requests to target websites You can change the method type for all the requests to send with Scrape.do. We support `GET`, `POST`, `PUT`, `PATCH`, `HEAD` and `DELETE` methods. **cURL (API mode)** ```bash curl --location --request POST -H "Content-Type: application/json" --data '{"foo":"bar"}' 'http://api.scrape.do/?url=https%3A%2F%2Fhttpbin.co%2Fanything&token=YOUR_TOKEN' ``` **Python (API mode)** ```python import requests import json import urllib.parse token = "YOUR_TOKEN" params = { "token": token, "url": "https://httpbin.org/anything", } data = json.dumps({ "foo": "bar" }) url = f"http://api.scrape.do/?{urllib.parse.urlencode(params)}" method = "POST" headers = { "Content-Type": "application/json", } response = requests.request(method, url, headers=headers, data=data) print(f"Response status: {response.status_code}") print(response.text) ```