Step to implement the logic for passing the variable value to another Thread Group: Add a ‘Regular Expression Extractor’ post-processor as a child element of 1.1 HTTP Request (Fetcher) and fetch the value in a variable (say employeeID) Add a ‘BeanShell Assertion’ and write $ {__setProperty (valueToPass,$ {employeeID})}Jul 08, 2022 · For variables without spaces in it i.e. 1: Simply add 'before and after $variablewhen replacing desired string for i in {1..3}; do \ curl -X POST -H "Content-Type: application/json" -d \ '{"number":"'$i'"}' "https://httpbin.org/post"; \ done 2. For input with spaces: Wrap variable with additional "i.e. "el a": how to transfer money from branch 12 Nis 2022 ... Is your “Code Snippet” some sort of pipeline script? I'm really not sure what its doing, nor why its assigning a variable to itself, then ...For input with spaces: Required fields are marked *. Wrap variable with additional " i.e. Send JSON Data With PHP CURL (POST & GET) By W.S. Did not work when there was a space after the second EOF: @dbreaux That depends where you run the curl command. It prepares the JSON from an input array and bundles it to the PHP cURL post. "'"$Windows. For Windows, follow these steps: Download the CURL Windows installer from the CURL official website [1] (64-bit recommended). Unzip the Curl.zip file into a folder on your computer (i.e., C:\Curl). Invoke the CURL command from any folder, including the CURL installation folder (C:\Curl\bin), to your Windows PATH environment variable. houdini vex syntax Can I do that? Yes you can! "-d @filename" reads the post from a given file name, and "-d @-" reads the post data from stdin! -- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ Received on2002-01-19 This message: [ Message body] Next message: Daniel Stenberg: "RE: Passing cookies during session" best political books 2022 Estás aquí: heedless crossword clue 8 letters » curl post xml data from file. curl post xml data from file. Por ...Jul 08, 2022 · For variables without spaces in it i.e. 1: Simply add 'before and after $variablewhen replacing desired string for i in {1..3}; do \ curl -X POST -H "Content-Type: application/json" -d \ '{"number":"'$i'"}' "https://httpbin.org/post"; \ done 2. For input with spaces: Wrap variable with additional "i.e. "el a": Sorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php postConsultoria técnica veterinária especializada em avicultura alternativa, produção de aves caipiras de corte e para produção de ovos. codependency disorder symptomson line 12 doesn't match the PHP code you have shown. Also, this instruction $_SESSION['indexp']; does absolutely nothing but give you a warning if you haven't defined $_SESSION['indexp']. – …and clicking on "Match My Price"). go through all the necessary steps to creating a pre-order by having curl post the necessary variables, except the next to last page. The next to last page posts 8 variables, 2 of which change. tell that they change, because I have a script that analyzes a form to see what variables are received. pytorch apple silicon github Code Explanation First, we have prepared data for a new user in JSON format. Then we passed those user data to given API URL via HTTP POST Method. After that, we executed CURL & stored received data. This will create a new user with data send as JSON. If a similar user name exists in the API, it will throw an error for duplicate records.The first 3 variables will always have no spaces. The fourth " slacksitename " has spaces ip=“x.x.x.x" record_name=“demo.xyz" slackuri:”WEBHOOK" slacksitename:”123 Main St" When called with cURL curl -X POST -H 'Content-type: application/json' --data ' {"text":"’$slacksitename': '$ip' '$record_name' DDNS updated.”}’ $slackuri홈으로 / 미분류 / curl post form data file. curl post form data fileSorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php post16 Eyl 2021 ... curl -X POST -H 'Content-type: application/json' --data '{"text":"123' Main 'St: x.x.x.x demo.xyz DDNS updated."}' https://hooks.slack.com/ ...Oct 21, 2022 · To post JSON data with Curl, use the -X POST option and pass the JSON data using the -d command line parameter, with the Content-Type set to -H “Content-Type: application/json”. The curl post with json data uses the curl command to send JSON data to the HTTP POST method. Yes, to start using curl with proxies, enter the proxy addresses you wish to use with the help of the following commands: -x --proxy. Then go ahead and enter each proxies credentials using the following command lines: -U --proxy-user. If you fail to specify certain credentials then curl will substitute them for the following defaults: beige pampas grass Oct 21, 2022 · Step to implement the logic for passing the variable value to another Thread Group: Add a ‘Regular Expression Extractor’ post-processor as a child element of 1.1 HTTP Request (Fetcher) and fetch the value in a variable (say employeeID) Add a ‘BeanShell Assertion’ and write $ {__setProperty (valueToPass,$ {employeeID})} Mar 03, 2020 · curl http post request example localhost. curl command parameters. api post to curl command converter. php curl get body response. send json by curl. curl --post with api. how to send http post create request using curl command. curl send json as variable. convert curl response to json format and echo the data. To capture the response to a file, append > response.txt to the cURL command. It is also possible to select cURL as the copy method and import it into Postman. In Postman select File - Import - Raw text and copy the cURL command. When I tried this it did mess up the double quotes in the JSON body of a POST request so it may need some manual ... scout boat for sale Here is another way to insert data from a file into a JSON property. This solution is based on a really cool command called jq.. Below is an example which prepares request JSON data, used to create a CoreOS droplet on Digital Ocean: woodstock movie theater Jul 04, 2021 · Jul 4, 2021 at 3:29 Add a comment 1 Answer Sorted by: 3 The double-quotes around "$OPTS" prevents the contents of the variable from being split on white-space, so it's treated as one argument to curl. In other words, it's the same as running: curl -X POST "-d 'tag=jazz' -d 'language=english' -d 'state=queensland'" "$SEARCH_URL" Redirect or pipe the content of a file or the output of another command as the input of cURL, for example, making a POST request with cURL. This is done by prefixing the data parameter with @, the rest is the filename to read data from. With -, the data is coming from stdin: 1 2 3 4 5 6 7 8 $ seq 17000 1 17001 | \ curl \ --request POST \The double-quotes around "$OPTS" prevents the contents of the variable from being split on white-space, so it's treated as one argument to curl. In other words, it's the same as running: curl -X POST "-d 'tag=jazz' -d 'language=english' -d 'state=queensland'" "$SEARCH_URL" Use an array instead. For example:Oct 21, 2022 · To post JSON data with Curl, use the -X POST option and pass the JSON data using the -d command line parameter, with the Content-Type set to -H “Content-Type: application/json”. The curl post with json data uses the curl command to send JSON data to the HTTP POST method. terra arbitrage Sorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php postFor variables without spaces in it i.e. 1: Simply add ' before and after $variable when replacing desired string for i in {1..3}; do \ curl -X POST -H "Content-Type: application/json" -d \ ' {"number":"'$i'"}' "https://httpbin.org/post"; \ done 2. For input with spaces: Wrap variable with additional " i.e. "el a":This causes curl to POST data using the Content- Type multipart/form-data according to RFC2388. This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <. pgt venice curl -X POST -H “Content-Type: application / json” --data-binary “ @/ home / user / data.json” https: // linuxhint.com / restricted / login.php. You can also use a text file to send the data; all you need to specify is the Content-Type as text/plain. For example, a text file (data.txt) containing the following values. Solution 1. You don't need to pass the quotes enclosing the custom headers to curl. Also, your variables in the middle of the dataargument should be quoted. First, write a function …16 Eyl 2019 ... while IFS=, read mname oname <------ my input file is: Test Name,New Name do #echo $mname .... .... curl --request POST \ --url ...I need to do a migration of data by posting it from my tables database to an API. I am trying to use curl for the REST setup. Here is an example of my code: <?php include …Stack Overflow for Teams is moving to its own domain! When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on stackoverflow.com.4 Ara 2019 ... 1 Add a single quote and a double quote around the variable · 2 Escaping double quote · 3 Use a data generation function. how to clean briggs and stratton carburetor without removing it Estás aquí: heedless crossword clue 8 letters » curl post xml data from file. curl post xml data from file. Por ... Oct 21, 2022 · To post JSON data with Curl, use the -X POST option and pass the JSON data using the -d command line parameter, with the Content-Type set to -H “Content-Type: application/json”. The curl post with json data uses the curl command to send JSON data to the HTTP POST method. thinkscript dataprofile practical knowledge of civil engineering. samsung curved monitor 27 power cord; active directory replication status tool; coronado elementary school san diegoApr 01, 2010 · When I use the following curl arguments, the POST variable Body is set to the part of the string before the first space. curl -X POST 'https://api.twilio.com/2010-04-01/Accounts/GUID/SMS/Messages.xml' -d 'From=DIDfrom' -d 'To=DIDto' -d 'Body="'$smsbody'" -u SECGUID smsbody is set as: inflatable boat dealers near alabama Posting Raw Data with Curl. This week I've been working on a feature which handles an incoming API call from an external source (actually Paypal's IPN service). Making external calls into my development platform isn't how I usually work, so instead I captured the body of the request that was being sent, and replayed it against my local script ... mister oso menu Since we write an application, we most likely want libcurl to get the upload data by asking us for it. To make it do that, we set the read callback and the custom pointer libcurl will pass to our read callback. The read callback should have a prototype similar to: size_t function (char *bufptr, size_t size, size_t nitems, void *userp); This is a web-scrapping task aimed to extract data from an online grocery website (App version and PC version both available). The website structure is analogous to Amazon, for each product we'd like to have a list of variables including: name, price, brand, category label, verbal description, size/weight, quantity of sales, customer reviews (verbal), etc. What's different is that it has an ...Send the data using curl’s –d or –data option. To execute a CURL file upload, you need to use the –d command-line option and begin data with the @ symbol. The file’s name should come after the data with @ symbol so CURL can read it and send it to the server. Example: curl -d @path/to/data.json https://reqbin.com/echo/post/jsonIn general there are more appropriate ways of parsing JSON objects, but since in this case the JSON object is very simple you may store curl's output in a variable (which is possible) and just use AWK: configure chrome to allow windows authentication without prompting There is growing evidence that recreational football offers health benefits for older adults and an important pathway for physical activity for older adult groups. Despite anecdotal evidence that recreational football is beneficial for older adults, no empirical data are available to support this assertion. This study addressed this issue and examined the effects of a 12-week recreational ...If not, do the following steps to enable PHP cURL module in your environment. Open PHP configuration file php.ini Check for the extension=php_curl.dll initiation. Remove the semicolon (;) at the beginning of the above line. Restart the A pache server. Set PHP cURL POST requests - Alternate methodsApr 07, 2015 · For variables without spaces in it i.e. 1: Simply add ' before and after $variable when replacing desired string for i in {1..3}; do \ curl -X POST -H "Content-Type: application/json" -d \ ' {"number":"'$i'"}' "https://httpbin.org/post"; \ done 2. For input with spaces: Wrap variable with additional " i.e. "el a": celebrity cruises classic drinks package reviews Here, we put the options to pass to curl in the array curl_opts. We initiate this array with the things we know will always be there and then add the tag path options by iterating over the array tag_paths. The double-quoted expansion "${curl_opts[@]}" at the end will expand to all elements of the curl_opts array, with each element individually ... killian and emma fanfiction enchanted forest Mar 03, 2020 · curl http post request example localhost. curl command parameters. api post to curl command converter. php curl get body response. send json by curl. curl --post with api. how to send http post create request using curl command. curl send json as variable. convert curl response to json format and echo the data. Sorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php postThis causes curl to POST data using the Content- Type multipart/form-data according to RFC2388. This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <.6 Tem 2017 ... How do I POST JSON data on Linux terminal? You can add -H "Content-Type: application/json" header value to Post the JSON data to curl command ... kohls quincy il These curl recipes show you how to add POST data to curl requests. To add URL-encoded form data, use the -d argument. To make curl URL-escape form data for you, use the --data-urlencode argument. To send multipart form data, use the -F argument.3 Mar 2019 ... Stop the single quoted string, follow with the variable expansion, posibly double quoted, and resume the single quoted string: --data ...Consultoria técnica veterinária especializada em avicultura alternativa, produção de aves caipiras de corte e para produção de ovos.28 Eki 2016 ... And that's it. The $result variable will contain the response from the request. Depending how this is provided it might be plain text, JSON or ... taco bell pay i am working with a api, i am using php and php curl, i am using PUT method to put some data with api, the api requires message,committer,name,email,content and sha in json body, all values execpt ...provider "curl" { // client_id = "<client id of this app, registered in Azure ... from environment variable 'CURL_CLIENT_SECRET' } data "curl" "getTodos" ...12 Haz 2017 ... cURL stands for “Client for URLs” or “Client for URL Request Library” ... It now possible to set the response of a URL request to variable. 4bd1t turbo upgrade To send a file with Curl via the POST method, we will use the -F parameter and add an @ symbol at the beginning of the file path. See the command below. curl -X POST -F '[email protected]/home/ubuntu-user/image.png' http://192.168.1.52:3001/upload If you wanted to upload a document such as a pdf or a '.txt' file we will set the type as ' fileupload .'Oct 21, 2022 · Step to implement the logic for passing the variable value to another Thread Group: Add a ‘Regular Expression Extractor’ post-processor as a child element of 1.1 HTTP Request (Fetcher) and fetch the value in a variable (say employeeID) Add a ‘BeanShell Assertion’ and write $ {__setProperty (valueToPass,$ {employeeID})} Mar 03, 2020 · Whatever answers related to “curl pass variable as data”. -d in curl request. create curl api request php with para. curl adding body. curl certificate and password. curl data from file. curl for beginners. curl get example. curl get return code. how to use love game engine To post JSON data with Curl, use the -X POST option and pass the JSON data using the -d command line parameter, with the Content-Type set to -H “Content-Type: application/json”. The curl post with json data uses the curl command to send JSON data to the HTTP POST method.Three ways to pass the environment variables 1 Add a single quote and a double quote around the variable. $ curl -X POST https://requestbin.io/1bk0un41 -H “Content-Type: application/json” -d ‘ { “property1″:”‘”$TERM”‘”, “property2″:”value2” }’ 2 Escaping double quote. 3 Use a data generation function. How do I send a JSON POST request? This causes curl to POST data using the Content- Type multipart/form-data according to RFC2388. This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <.This causes curl to POST data using the Content- Type multipart/form-data according to RFC2388. This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <. intp turn ons21 Şub 2007 ... Sending GET or POST variables invisibly; POST with a different Content-Type; CURL functions; curl_setopt. Parameters; Value should be a bool ...Oct 27, 2022 · The general form of a Curl command for making a POST request with Basic Authentication is as follows: Curl POST Request with Basic Authentication Example curl -X POST [URL] -H "Content-Type: application/json" -d " {post_data}" --user "login:password" Where: -X: HTTP method to use when communicating with the server. toy collectors near me Sending Request Body with Curl. To post data in the body of a request message using Curl, you need to pass the data to Curl using the -d or --data command line switch. The Content-Type header indicates the data type in the body of the request message. This header is required by the server to correctly interpret and process the data in the body ...Jul 04, 2021 · Jul 4, 2021 at 3:29 Add a comment 1 Answer Sorted by: 3 The double-quotes around "$OPTS" prevents the contents of the variable from being split on white-space, so it's treated as one argument to curl. In other words, it's the same as running: curl -X POST "-d 'tag=jazz' -d 'language=english' -d 'state=queensland'" "$SEARCH_URL" For input with spaces: Required fields are marked *. Wrap variable with additional " i.e. Send JSON Data With PHP CURL (POST & GET) By W.S. Did not work when there was a space after the second EOF: @dbreaux That depends where you run the curl command. It prepares the JSON from an input array and bundles it to the PHP cURL post. "'"$ cloudflare reverse proxy subdirectory An easier way to create cURL commands. You can construct a request in Postman and convert it to cURL using the code snippet generator. Running cURL commands in a more user-friendly way. You can import a cURL request into Postman and run it. If you found this useful, you should also take a look at the other options in the code snipper generator.To capture the response to a file, append > response.txt to the cURL command. It is also possible to select cURL as the copy method and import it into Postman. In Postman select File – Import – Raw text and copy the cURL command. When I tried this it did mess up the double quotes in the JSON body of a POST request so it may need some manual ... Nov 10, 2022 · Yes, to start using curl with proxies, enter the proxy addresses you wish to use with the help of the following commands: -x --proxy. Then go ahead and enter each proxies credentials using the following command lines: -U --proxy-user. If you fail to specify certain credentials then curl will substitute them for the following defaults: christmas help anoka county 12 Nis 2022 ... Is your “Code Snippet” some sort of pipeline script? I'm really not sure what its doing, nor why its assigning a variable to itself, then ...For variables without spaces in it i.e. 1: Simply add ' before and after $variable when replacing desired string for i in {1..3}; do \ curl -X POST -H "Content-Type: application/json" -d \ ' {"number":"'$i'"}' "https://httpbin.org/post"; \ done 2. For input with spaces: Wrap variable with additional " i.e. "el a":Consultoria técnica veterinária especializada em avicultura alternativa, produção de aves caipiras de corte e para produção de ovos.Setting environmental variable REQUESTS_CA_BUNDLE works. Have you used firbug or other pacp tools capture package to determin what's data it sends? In the following example, you use .findall() to find any text within a string that matches a given regular expression: The first argument of re.findall() is the regular expression that you want to ... universal vent tabs Mar 03, 2020 · curl http post request example localhost. curl command parameters. api post to curl command converter. php curl get body response. send json by curl. curl --post with api. how to send http post create request using curl command. curl send json as variable. convert curl response to json format and echo the data. As I don't have a C++ program available I just used the terminal to indicate on how to access the variables using the curl library. Here the GET and the PUT is used to read/write the global variable "TravelSpeed". Example using the format text: Example using the format json:Solution 1. You don't need to pass the quotes enclosing the custom headers to curl. Also, your variables in the middle of the dataargument should be quoted. First, write a function …Stack Overflow for Teams is moving to its own domain! When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on stackoverflow.com. callaway big bertha models 4 hours ago · Sorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php post 4 Nis 2019 ... An endpoint, which is the address (URL) to which we are sending the request. An HTTP method. The most common methods used are GET, POST, PUT and ... vf series 2 parts Describe the relationship between two quantitative variables. Use a calculator to find the equation of the LSRL. Find and interpret a residual. Create a residual plot. Assess the appropriateness of a linear model for a given set of data.practical knowledge of civil engineering. samsung curved monitor 27 power cord; active directory replication status tool; coronado elementary school san diego Users can now generate code snippets in 3 new languages; R httr, Rcurl, and PHP Guzzle. how to pass a variable in one page to other using get method but that passing variable should not shown in the url i tried more method i donn't know is it possible if it possible meance pls post, i neeed to link first two dropdown boxes and next two dropdown boxes bt they should not be related to each other. autokit download link 24 Kas 2021 ... I am trying to send POST request via curl command which has a variable and the variable is having an escape character like this. berberine stomach pain reddit Sorry for the long post and code but I am new at PHP and was given this task with an example function (similar to this one that I edited) to do the migration. php post28 May 2017 ... How do I make a POST request with the cURL Linux command-line to upload file? curl is a good tool to transfer data from or to a server ...Call.request.put (URL, data =dict) this also works similarly to POST request; this will also send URL and values to a PUT request. Call.requset.delete (URL, data =dict); this also has the same parameters as the above two request methods, and this request also sends the URL and values to the DELETE request method.practical knowledge of civil engineering. samsung curved monitor 27 power cord; active directory replication status tool; coronado elementary school san diegoGreat video! Really like your style :) Keep up the hard work! I could use some feedback on my video as well if you don't mind :). If you've been banned from Omegle, . You can get IP addresses through a logger or network monitoring app. The #1 Rated Omegle Alternative. STEP 1: Store the message and time interval in two variables. wood craft cubes dollar tree ideas Let us say you want to pass shell variable $name in the data option -d of cURL command. There are two ways to do this. First is to put the whole argument in double quotes so that it is expandable but in this case, we need to escape the double quotes by adding backslash before them. curl -d " {\"query\": \"$name\", \"turnOff\":true}" ...The general form of a Curl command for making a POST request with a JSON body is as follows: Curl POST Request with JSON curl -X POST [URL] -H "Content-Type: application/json" -d " [JSON data]" Where: -X, --request: HTTP method to use when communicating with the server. -H, --header: HTTP headers to send to the server with a POST request.how to pass path variable in ajax call; firestone chocolate cherry stout near me. largest e-commerce companies in the world; wwe 2k22 custom championship black; does samsung a12 support screen mirroring; gentrol complete aerosol; cd castellon b fc jove espanol san vicente; how to pronounce jacquotte delahaye; cowboy hat minecraft skin. small ...Here, we put the options to pass to curl in the array curl_opts. We initiate this array with the things we know will always be there and then add the tag path options by iterating over the array tag_paths. The double-quoted expansion "${curl_opts[@]}" at the end will expand to all elements of the curl_opts array, with each element individually ... stories of having a narcissistic mother Call. request. post( URL, data = dict) This function sends the request for the post () to send the information to the URL. It takes a data variable that takes a dictionary. This dictionary contains the keys. Call. request. put( URL, data = dict) This call also works similarly to the post function. And will also send the same values as an argument.Great video! Really like your style :) Keep up the hard work! I could use some feedback on my video as well if you don't mind :). If you've been banned from Omegle, . You can get IP addresses through a logger or network monitoring app. The #1 Rated Omegle Alternative. STEP 1: Store the message and time interval in two variables.These curl recipes show you how to add POST data to curl requests. To add URL-encoded form data, use the -d argument. To make curl URL-escape form data for you, use the --data-urlencode argument. To send multipart form data, use the -F argument.Posting Raw Data with Curl. This week I've been working on a feature which handles an incoming API call from an external source (actually Paypal's IPN service). Making external calls into my development platform isn't how I usually work, so instead I captured the body of the request that was being sent, and replayed it against my local script ... jerrypercent27s nugget Describe the relationship between two quantitative variables. Use a calculator to find the equation of the LSRL. Find and interpret a residual. Create a residual plot. Assess the appropriateness of a linear model for a given set of data. ottawa obituaries 2021 Project Documentation. This section is for documentation associated to the project to some degree. The most common questions are collected in the FAQ . The governance explains how we make decisions and who decides what in the project. If a problem isn't already a known bug or something mentioned in the TODO, you can report the bug . If you ...If not, do the following steps to enable PHP cURL module in your environment. Open PHP configuration file php.ini Check for the extension=php_curl.dll initiation. Remove the semicolon (;) at the beginning of the above line. Restart the A pache server. Set PHP cURL POST requests - Alternate methodsCan I do that? Yes you can! "-d @filename" reads the post from a given file name, and "-d @-" reads the post data from stdin! -- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ Received on2002-01-19 This message: [ Message body] Next message: Daniel Stenberg: "RE: Passing cookies during session" 2022 peterbilt 567 sleeper Nov 10, 2022 · Yes, to start using curl with proxies, enter the proxy addresses you wish to use with the help of the following commands: -x --proxy. Then go ahead and enter each proxies credentials using the following command lines: -U --proxy-user. If you fail to specify certain credentials then curl will substitute them for the following defaults: The Curl language naming conventions for variables suggest using lowercase letters and a hyphen to join multiple words (for example, variable-name). is the data type of the variable. Specify any valid data type. type is required if value is not specified. How do you do a curl POST request? How To Make POST Request with cURL? Make simple POST ... curl usage For sending data with POST and PUT requests, these are common curloptions: request type -X POST -X PUT content type header -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/json" data form urlencoded: -d "param1=value1¶m2=value2"or -d @data.txt21 Eki 2022 ... To post JSON data using Curl, you need to set the Content-Type of your request to application/json and pass the JSON data with the -d ... the california civil code provides that the easton disclosure