The Webflow API documentation to create a collection item requires a header in the CURL example (Shell). I am getting this error using the API.
err: ValidationError: ‘fields.name’ is required
The relevant request text below from the 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 integrations tab. That would be the VALUE part of the name : value pair. What is 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?
My read only link is below but not really relevant to this conversation since the error shows up in using this API endpoint from Xano
https://preview.webflow.com/preview/davids-cool-project-9b22c-945b0baa74739?utm_medium=preview_link&utm_source=designer&utm_content=davids-cool-project-9b22c-945b0baa74739&preview=72b52f491bb66f2552b268bf00e8ac54&workflow=preview
----------
Here is my site Read-Only: **[LINK][1]**
([how to share your site Read-Only link][2])
[1]: http://
[2]: https://university.webflow.com/article/sharing-your-sites-read-only-link