potatoesnmolasses / week-8-activity-2

0 stars 0 forks source link

Week 8 ready for review #1

Open potatoesnmolasses opened 7 months ago

potatoesnmolasses commented 7 months ago

@pawaitemadisoncollege Week 8 is done and ready for review!

What were your key learning points/takeaways? We learned how to implement RESTful APIs/web services

What challenged you? It was a bit nerve wracking at first to start accessing a service unrelated to the examples, just because I think I expected it to be more complicated than it was! I struggled to use the access key at first.

What problems did you solve and what resources did you use to solve them? I was able to just google the access key. I think I was turned around because the service I was using was sort of a 1:1 prompt-result scenario, and the url isn't impacted since the prompt is sent via POST. Because of this, though, it was somewhat senseless to set up a POJO for that service. So although I figured out the basic functionality for my indie project, for the purposes of the assignment I used the Pet Store api.

Ultimately I would like to set up something like this , but I plan to time that closer to the end of the semester so as not to use up the introductory offer.

pawaitemadisoncollege commented 7 months ago

Hi @potatoesnmolasses! This is a good first practice project consuming a web service with java code. You did a good job following best practices by reading in the url in via properties rather than hard-coding it. Well done.

Here's an example sending a post in java with a java object. I thought this might be helpful since the example you linked to used javascript and you mentioned using a pojo versus not.