CURL API with Webflow error
err: ValidationError: ‘fields.name’ is required
The relevant CURL request text below from the Webflow API documentation:
curl --request POST
–url ‘https://api.webflow.com/collections/580e63fc8c9a982ac9b8b745/items?live=true’
–header ‘Accept-Version: 1.0.0’
–header ‘Authorization: Bearer {access_token}’
–header ‘content-type: application/json’
–data '{
NOTE: --header 'Authorization: Bearer {access_token}'
The curly braces indicate a 'name : value' pair should be inserted at that point.
The 'access_token' VALUE would be the API Access key available in the Webflow integrations tab. That would be the VALUE part of the name : value pair. What might be the 'name' part of the NAME : VALUE pair if in fact the 'access_token' should be a name: value pair. If not, what should replace 'access_token' in the CURL command?[CURL error 02.jpg][CURL error 01.jpg]
Other
5 replies