Skip to content

Commit 180d444

Browse files
authored
Include powershell equivalent for curl
Helpful to explicitly write the powershell command since using curl caused problems for me at least (it was automatically translated to Invoke-WebRequest but then prompted for URI and failed when I supplied it).
1 parent 26b3da8 commit 180d444

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labs/lab4/lab4.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ \subsection*{Assignments}
8888
> curl -i http://localhost:8080/dressings/Dillmayo
8989
\end{Code}
9090

91+
In powershell, use \code{Invoke-WebRequest -Uri http://localhost:8080/proteins/}.
92+
9193
%\noindent \emph{Option:} You can also access the salad bar REST service on codesandbox: \url{https://wkqy6rpw25.sse.codesandbox.io/foundations} IMPORTANT: you must load the page in a web browser before you start your application. Codesandbox first send a html page containing the compilation process before it jumps to the \code{server.js} response. This will most likely give problems for your application.
9294

9395
\item We will use react router data API for loading inventory. Each route can have a loader function which will be executed befor the associated component is rendered. Here is my rout for compose-salad:

0 commit comments

Comments
 (0)