Interact with the Service

Sumit Rawal answered on May 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Interact with the Service

0
Tip Sumit Rawal 1 GREPCC

Learn how to interact with the API endpoints to create, update, and load products.

We'll cover the following...

Our service

What have we created so far? Remember, this was the model we started with:

HTTP endpoints provided by our service

Let’s successively try out each API endpoint exposed by our service.

Run all the commands in the SPA widget given at the end of the lesson.

Create product

We will start with creating a product by using the exposed API /products on port 49152. We will create a POST request and pass the product model in a JSON object.

Review the product object below:

Popularity 1/10 Helpfulness 1/10 Language scala
Source: Grepper
Tags: scala service
Link to this answer
Share Copy Link
Contributed on May 23 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Sign in with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.