Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sonetik:production_log_api [2018/04/26 14:56]
smayr
sonetik:production_log_api [2018/04/26 15:01] (current)
smayr
Line 2: Line 2:
  
 Submit test data to Production Log API using ''curl''. In Windows command line: Submit test data to Production Log API using ''curl''. In Windows command line:
-<file bash>+<code bash>
 C:\> curl -i -H "Accept:application/json" -H "Content-Type:application/json"  C:\> curl -i -H "Accept:application/json" -H "Content-Type:application/json" 
   -XPOST "http://102-token@www.audina.net/support/production-log/api/web/v1/entries"    -XPOST "http://102-token@www.audina.net/support/production-log/api/web/v1/entries" 
   -d "{""brand"": ""Sonetik"", ""order_number"": ""103000"", ""serial_number"": ""18D00409"", ""product_code"":    -d "{""brand"": ""Sonetik"", ""order_number"": ""103000"", ""serial_number"": ""18D00409"", ""product_code"": 
   ""SonetikRIC16_1"", ""product_data"": ""6641f271b87ff63a576bcd31b4aee9cc"", ""workstation"": ""CODECEPT""}"   ""SonetikRIC16_1"", ""product_data"": ""6641f271b87ff63a576bcd31b4aee9cc"", ""workstation"": ""CODECEPT""}"
-</file>+</code>