sintonia_webapp/_requests/File.http

30 lines
No EOL
488 B
HTTP

###
@baseUrl = http://127.0.0.1:9876
###
POST {{baseUrl}}/login
Content-Type: application/x-www-form-urlencoded
Accept: application/json
username=admin &
password=admin
###
POST {{baseUrl}}/file
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="test_sintonia.mp3"
< ./test_sintonia.mp3
--WebAppBoundary--
###
GET http://127.0.0.1:9876/file?
page=1 &
per_page=10 &
artist_name=Cattle
###