Fullstack Node.js by Nate Murray

Fullstack Node.js by Nate Murray

Author:Nate Murray [Nate Murray]
Language: eng
Format: epub
Publisher: leanpub.com
Published: 2019-11-26T00:00:00+00:00


And now we can start our server with node 01/server-01.js test our new method using curl:

curl -X POST \ http://localhost:1337/products \ -H 'Content-Type: application/json' \ -d '{ "description": "Rug that really ties the room together", "imgThumb": "https://images.unsplash.com/photo-1534889156217-d643df14f14a?ixlib=rb\ -1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjY0MjAxf\ Q", "img": "https://images.unsplash.com/photo-1534889156217-d643df14f14a?ixlib=rb-1.2.\ 1&ixid=eyJhcHBfaWQiOjY0MjAxfQ", "link": "https://unsplash.com/photos/Vra_DPrrBlE", "userId": "GPlq8En0xhg", "userName": "Ryan Christodoulou", "userLink": "https://unsplash.com/@misterdoulou", "tags": [ "rug", "room", "home", "bowling" ] }'



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.