-
Notifications
You must be signed in to change notification settings - Fork 0
/
mockable.rtf
26 lines (26 loc) · 2.22 KB
/
mockable.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{\rtf1\ansi\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Riched20 10.0.17134}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9 You need to go to:\par
{{\field{\*\fldinst{HYPERLINK https://www.mockable.io }}{\fldrslt{https://www.mockable.io\ul0\cf0}}}}\f0\fs22\par
and click on login. From there, use some of this services to register the account:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o79wkb }}{\fldrslt{http://prntscr.com/o79wkb\ul0\cf0}}}}\f0\fs22\par
Once that you have logged in, you will be greeted by this page:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o79x8v }}{\fldrslt{http://prntscr.com/o79x8v\ul0\cf0}}}}\f0\fs22\par
and you go ahead and click on that link.\par
Then, you go ahead and create a new mock, by selecting \b REST \b0 and clicking \b REST Mock \b0 button:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o79xu3 }}{\fldrslt{http://prntscr.com/o79xu3\ul0\cf0}}}}\f0\fs22\par
On the mock page, set the \b Path:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o79ys0 }}{\fldrslt{http://prntscr.com/o79ys0\ul0\cf0}}}}\f0\fs22\par
\b0 On the \b Response body \b0 section of the page, you need to paste the URL that you want to grab. NOTE: you need to include http or https like the one in the picture:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o79zhv }}{\fldrslt{http://prntscr.com/o79zhv\ul0\cf0}}}}\f0\fs22\par
And then at the bottom of the page, you need to click on \b Save \b0 and click on \b Stopped\b0 . By clicking on the \b Stopped\b0 , it would change the state to \b Started\b0 , which will make this API available to our extension.\par
\b 2. EDITING URL\par
\b0 When you want to change the URL, just go to the \b Response body \b0 section and edit the URL:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o7a1no }}{\fldrslt{http://prntscr.com/o7a1no\ul0\cf0}}}}\f0\fs22\par
and then, click on \b Save \b0 button.\par
\b 3. What's next? \par
\b0 Now, all you need to do is to send me the API url of this mock so I can implement it inside the extension. You can find it here:\par
{{\field{\*\fldinst{HYPERLINK http://prntscr.com/o7a28w }}{\fldrslt{http://prntscr.com/o7a28w\ul0\cf0}}}}\f0\fs22\par
}