I have question, i want to send data from my PC (windows) to Data base (back4app.com). For this i have possibility to use API request with cURL. My code to save data in DB:
curl -X POST -d @testFile.txt \
-H "X-Parse-Application-Id: MY_KEY" \
-H "X-Parse-REST-API-Key: API_KEY" \
https://parseapi.back4app.com/classes/check
In my testFile.txt i have such data:
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
Text=TextLable&body=checkSaving2&data=20.12.2017
And in my DB i receive all data in one column:
But i need each row in each column. EX:
Column - Text: Column - body: Column - data:
TextLable checkSaving2. 20.12.2017
TextLable checkSaving2. 20.12.2017
TextLable checkSaving2. 20.12.2017
TextLable checkSaving2. 20.12.2017
TextLable checkSaving2. 20.12.2017
So, how i can do like upper example, to save my data in DB